#include "about.h"
#include "ui_about.h"
#include <QtWidgets>
About::About(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::About)
{
    ui->setupUi(this);
    ui->label_version->setText(QCoreApplication::applicationVersion());
}

About::~About()
{
    delete ui;
}

void About::on_pushButton_2_clicked()
{
    QUrl url("http://mapvision.filipzava.cz/welcome/donate.html");
    QDesktopServices::openUrl(url);

}

void About::on_pushButton_clicked()
{
    this->close();
}
